package com.example.building_material_mannager.service.impl;

import com.example.building_material_mannager.entity.OtherIncome;
import com.example.building_material_mannager.entity.OtherSelect;
import com.example.building_material_mannager.mapper.OtherIncomeMapper;
import com.example.building_material_mannager.service.OtherIncomeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OtherIncomeServiceImpl implements OtherIncomeService {
    @Resource
    OtherIncomeMapper otherIncomeMapper;

    @Override
    public List<OtherIncome> selectOtherIncome(OtherSelect otherSelect) {
        return otherIncomeMapper.selectOtherIncome(otherSelect);
    }
}
